package com.hopes.bizz.close.basic.vo;

import com.hopes.bizz.close.basic.entity.ClosedGeneralCarEntity;
import com.hopes.bizz.close.basic.entity.ClosedOperateAuditRecordEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.beans.BeanUtils;

import java.util.List;

/**
 * @author yumr
 * @ProjectName bizz
 * @Description 普通车辆VO
 * @time 2024/1/22 18:49
 */

@Data
@EqualsAndHashCode(callSuper = false)
public class ClosedGeneralCarVO extends ClosedGeneralCarEntity {

    private static final long serialVersionUID = 3236870735332551197L;

    private List<ClosedOperateAuditRecordEntity> closedOperateAuditRecordList;

    public ClosedGeneralCarVO(ClosedGeneralCarEntity closedGeneralCar, List<ClosedOperateAuditRecordEntity> closedOperateAuditRecordList) {
        BeanUtils.copyProperties(closedGeneralCar, this);
        this.closedOperateAuditRecordList = closedOperateAuditRecordList;
    }

}
